package com.sdyc.ndmp.cls.dtd;

import com.alibaba.fastjson.JSON;
import com.sdyc.ndmp.cls.model.DataContent;

import java.io.Serializable;


public class DataSentence implements Serializable {

    private final static long serialVersionUID = 1L;

    protected DataContent dataContent;

    public DataSentence(String context) {
        dataContent =new DataContent();
        dataContent.setDataContent(context);
    }

    public DataContent getDataContent() {
        return dataContent;
    }

    public void setDataContent(DataContent dataContent) {
        this.dataContent = dataContent;
    }

    @Override
    public String toString() {
        return "DataSentence -> " + JSON.toJSONString(dataContent);
    }
}
